package com.jn.rxjavaretrofit_demo0802;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {
    @GET("weather/weather")
    Observable<WeatherResponse> getWeather(@Query("city_name") String cityName);

    @GET("common/today")
    Observable<TodayResponse> getTodayNews();
}